package cn.wei.sdd.core.service;

import cn.wei.sdd.core.pojo.entity.CheckRecord;
import cn.wei.sdd.core.pojo.query.CheckRecordQuery;
import cn.wei.sdd.core.pojo.vo.AdminCheckOneVO;
import cn.wei.sdd.core.pojo.vo.CheckOrdersVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 验收记录表 服务类
 * </p>
 *
 * @author Wei
 * @since 2021-11-15
 */
public interface CheckRecordService extends IService<CheckRecord> {


    List<CheckOrdersVO> getCheckOrdersByUserId(Long userId,Integer status);

    IPage<CheckOrdersVO> listPage(Page<CheckOrdersVO> pageParam, CheckRecordQuery checkRecordQuery);

    void check(AdminCheckOneVO adminCheckOneVO, Long userId);
}
